package com.softWang.system.controller.vo.systemDepts;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel
public class SystemDeptQueryAllResult{


    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "部门名")
    private String dname;

    @ApiModelProperty(value = "类型，(1.内置部门，2.创建的普通部门)")
    private Integer type;


    @ApiModelProperty(value = "父id")
    private Long pid;

    @ApiModelProperty(value = "树id路径,分割(1,2,3,)最大长度为100位")
    private String treecode;

    @ApiModelProperty(value = "状态，0:正常,1:停用")
    private Integer state;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime ctime;

    @ApiModelProperty(value = "创建人id")
    private Long cuser;

    @ApiModelProperty(value = "创建人")
    private String cuserName;

}
